package com.young.interfaces.coordin.model;

import java.util.List;

/**
 * 注册对象
 * Created by Admin on 2021/3/21.
 */
public class RegisterDTO {
    /**
     * 订阅主题
     */
    private List<String> topics;
    /**
     * 客户端ip
     * 为空则默认从request取来源ip
     */
    private String ip;
    /**
     * 客户端端口号
     * 为空则默认从request取来源端口
     */
    private Integer port;
    /**
     * 注册时间戳
     */
    private Long timestamp;

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public List<String> getTopics() {
        return topics;
    }

    public void setTopics(List<String> topics) {
        this.topics = topics;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }
}
